package com.wzh.project.utils.traverse.map;

import java.util.Map;
import java.util.Map.Entry;

/**
*@author : 汪振海
*@createdDate : Jan 2, 2020  10:42:55 AM
*@description : <br>
*
*/
public class TraverseMap {
	
	public static String traverse(Map<String,String> map) {
		StringBuffer stringBuffer=new StringBuffer();
		for (Entry<String, String> entry : map.entrySet()) {
			stringBuffer.append(",").append(entry.getKey()).append(":").append(entry.getValue());
		}
		return stringBuffer.substring(1);
	}

}
